package ATM.dao;

import ATM.pojo.UserDO;

public interface UserDAO {
    /**
     * 根据用户名和密码查询用户
     * @param name
     * @param pwd
     * @return
     */
    UserDO getByUsernameAndPwd (String name , String pwd);
    void update(UserDO user);
    UserDO getById(String id);
}
